/**
 * Progress 组件的主题配置
 */

import type { ComponentToken } from 'antd/es/progress/style';

export const progressThemeConfig: Partial<ComponentToken> = {
  defaultColor: '#1890ff',
  remainingColor: '#f5f5f5',
  circleTextColor: '#1a1a1a' as any,
};

export const getProgressTheme = (
  customConfig?: Partial<ComponentToken>
): Partial<ComponentToken> => {
  return {
    ...progressThemeConfig,
    ...customConfig,
  };
};

export type { ComponentToken as ProgressComponentToken } from 'antd/es/progress/style';

